
<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
    <title>订单结算</title>
    <c:set var="path" value="${pageContext.request.contextPath}"></c:set>
    <style>

        .hang div{
            width:610px;
            margin-top: 10px;
            padding-left: 70px;
        }
        .hang div input{
            border: none;
        }
        .title{
            float: left;
        }
    </style>
</head>
<body>
<div>
    <form class="layui-form" id="distriFormssaa">
        <input type="hidden" name="cusno" id="kehubianhao">
        <input type="hidden" id="jine" name="price" value="${money}">
    </form>
</div>
    <div class="xinxi">
        <div class="hang">
            <div class="title">收货人信息&emsp;<%--<button class="layui-btn">修改</button>--%></div>
            <br>
            <div>客户姓名：<input type="text" id="name">&emsp;联系电话<input type="text" id="phone"></div>
            <br>
            <div>地址：<input type="text" id="address"></div>
            <input type="hidden" id="khid">
        </div>
        
        <%--<hr>--%>
        <%--<div class="hang">--%>
            <%--<div>支付及配送方式&emsp;<button class="layui-btn">修改</button></div>--%>
            <%--<br>--%>
            <%--<div>货到付款</div>--%>
            <%--<br>--%>
            <%--<div>公司送货上门</div>--%>
        <%--</div>--%>
        <%--<hr>--%>
        <%--<div class="hang">--%>
            <%--<div>发票信息&emsp;<button class="layui-btn">修改</button></div>--%>
            <%--<br>--%>
            <%--<div>公司明细</div>--%>
        <%--</div>--%>
    </div>
    <hr>
    <p style="margin-left: 20px">商品清单</p>
    <div class="layui-fluid">
        <table id="qingdanTable" lay-filter="qingdanTable"></table>
        <div>总数量：<span>${jine}</span></div>
        <div>总金额：<span>${money}.00</span></div>
    </div>
    <script>
        layui.use(["table","form"],function () {
            var table=layui.table;
            //渲染表格
            table.render({
                elem:"#qingdanTable",
                url:"${path}/order/getshopp",
                page:true,
                cols:[[
                    {type:'checkbox'},
                    {field:'id',title:'编号'},
                    {field:'name',title:'名称'},
                    {field:'price',title:'价格'},
                    {field:'fuzhu',title:'数量'},
                ]]
            })
        })
    </script>

</body>
</html>
